package com.kaifamiao.dao;

import com.kaifamiao.model.UserInfoModel;

import java.util.List;

/**
 * @author lucien-ma
 * @date 2021/10/13
 * @apiNote
 */
public interface IUserInfoDao {

    List<UserInfoModel> findAll();

    UserInfoModel findById(String id);

    int save(UserInfoModel userInfoModel);

    int update(UserInfoModel userInfoModel);

    int deleteById(String id);
}
